<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * 商家
 * Class Shop
 *
 * @package App\Models
 * @property int $id
 * @property string|null $name 店铺名称
 * @property string|null $avatar 店铺头像
 * @property string|null $logo LOGO
 * @property string|null $business_id
 * @property string|null $intro 店铺简介
 * @property string|null $banner 店铺轮播图
 * @property string|null $address 学校地址
 * @property string|null $salecate
 * @property string|null $realname 店主姓名
 * @property string|null $shop_phone
 * @property string|null $phone 联系电话
 * @property string|null $password 后台登录密码
 * @property string|null $remember_token
 * @property int|null $join_time 入驻时间
 * @property string|null $open_time 营业时间开
 * @property string|null $close_time 营业时间关
 * @property string|null $reason
 * @property string|null $pending_money 待结算
 * @property string|null $balance_money 账户余额
 * @property string|null $withdraw_money 总提现金额
 * @property \Illuminate\Support\Carbon|null $created_at  创建时间
 * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
 * @property int|null $deleted_at
 * @property string|null $idcard 身份证号
 * @method static \Illuminate\Database\Eloquent\Builder|Shop newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Shop newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Shop query()
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereAvatar($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereBalanceMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereBanner($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereBusinessId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereCloseTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereIdcard($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereIntro($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereJoinTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereLogo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereOpenTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop wherePassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop wherePendingMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereRealname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereReason($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereRememberToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereSalecate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereShopPhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Shop whereWithdrawMoney($value)
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Query\Builder|Shop onlyTrashed()
 * @method static \Illuminate\Database\Query\Builder|Shop withTrashed()
 * @method static \Illuminate\Database\Query\Builder|Shop withoutTrashed()
 */
class Shop extends BaseModel
{
    use SoftDeletes;
    protected $guarded = [];
    protected $dateFormat = 'U';
    protected $fillable = ['name', 'avatar', 'salecate', 'realname', 'phone', 'address', 'idcard', 'join_time','status'];
}
